package org.example.edusmart.pojo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor //无参构造
@AllArgsConstructor //全参构造
public class CourseDirectoryPojo {
    //课程资料id
    private int courseDirectoryId;
    //课程id
    private int courseId;
    //课程资料名称
    private String courseDirectoryName;
    //课程资料路径
    private String courseDirectoryUrl;


    public String getCourseDirectoryName() {
        return courseDirectoryName;
    }

    public void setCourseDirectoryName(String courseDirectoryName) { this.courseDirectoryName = courseDirectoryName;}

    public int getCourseDirectoryId() {
        return courseDirectoryId;
    }

    public void setCourseDirectoryId(int courseDirectoryId) {
        this.courseDirectoryId = courseDirectoryId;
    }

    public int getCourseId() {
        return courseId;
    }

    public void setCourseId(int courseId) {
        this.courseId = courseId;
    }

    public String getCourseDirectoryPath() {
        return courseDirectoryUrl;
    }

    public void setCourseDirectoryPath(String courseDirectoryPath) {
        this.courseDirectoryUrl = courseDirectoryPath;
    }

    @Override
    public String toString() {
        return "CourseDirectoryPojo{" +
                "courseDirectoryId=" + courseDirectoryId +
                ", courseId=" + courseId +
                ", courseDirectoryPath='" + courseDirectoryUrl + '\'' +
                '}';
    }
}
